home *** CD-ROM | disk | FTP | other *** search
/ Aminet 21 / Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso / Aminet / gfx / show / gs_src_amiga.readme < prev    next >
Text File  |  1997-09-05  |  4KB  |  98 lines

  1. Short:    Ghostscript5.03 Amiga sources
  2. Author:   GS(Aladdin)/Amiga(Olaf Barthel)/Steffen Opel)/Port(me)
  3. Uploader: JoopvandeWege@mail.mococo.nl
  4. Type:     gfx/show
  5. Requires: gs503src_gs.lha/gs501src_jpg6a.lha
  6.  
  7. This is the Amiga port of Ghostscript5.03 containing the Amiga specific
  8. sources, if you want to recompile GS then you'll have to get
  9. 'gs503src_gs.lha' and 'gs501src_jpg6a.lha' too. For more details see below. 
  10.  
  11. Comments/Suggestions/Bugs to:
  12. JoopvandeWege@mail.mococo.nl
  13. Please use a Subject field with the name 'GS503' in it.
  14. Please direct all mail to me except when you're 100% sure it is a GS
  15. problem then you can use the Aladdin email address.
  16.  
  17. Please be sure to read the Amiga section in Use.txt for details (can be
  18. found in the directory 'doc').
  19.  
  20. Joop van de Wege
  21.  
  22.  
  23. Recompiling GS:
  24. Steps needed to be done to recompile GS from scratch using GCC2.63/2.70:
  25. Get gs503src_gs.lha
  26. Get gs503src_amiga.lha
  27. Get gs501src_jpg6a.lha
  28. Get gs501src_zlib.lha
  29. Get gs501src_png.lha
  30.  
  31. Unpack gs503src to HD, a directory 'gs5.03' will be created.
  32. Unpack to the same HD (files will also be placed into 'gs5.03':
  33. - gs503amiga.lha, overwriting some files. This is OK
  34.   gs503amiga.lha contains:
  35.   - gdevamiga.c, the amiga device driver from Olaf Barthel
  36.   - gdevpipe.c, patched for use with Libnix
  37.   - gp_amiga.c, platform dependant stuff for the Amiga
  38.   - use.txt, has an Amiga section!
  39.   - Configure.in/Makefile.in to rebuild Makefile and be able
  40.     to separate source and build directory.
  41.     (now includes 'makefile.libnix' for those without configure)
  42. - gs501src_jpg6a which creates the 'jpeg-6' directory
  43. - gs501src_zlib which creates the 'zlib' directory
  44. - gs501src_png which creates the 'libpng' directory
  45. - edit gcc-head.mak.in, install locations, the lines DEVICES_DEVSx= .....
  46.   (add/remove devices to your desire), save!
  47. - cd to your build directory (cd work:build/gs)
  48. - sh work:source/gs5.01/configure --prefix=Ghostscript:
  49.   (configure tests your configuration, generates Makefile)
  50. - make (or use the supplied 'build_gs' script,overrides some settings)
  51. - make install
  52.  
  53. The last two archives are not needed when you don't intend to rebuild GS
  54. with PNG support.
  55.  
  56. If you haven't forgotten to set the stack to a reasonable amount (~50K),
  57. you can sit back and have a cup of coffee. On my A3000 it takes about 2.5h
  58. (1-1.5h when using PowerCache) to compile with the current device driver
  59. set and the file 'gdevamiga.c' needs about 7-8Mb when -O2 is on. It needs
  60. less if you don't optimize :)
  61. Make itself takes another 2Mb so in case of problems just compile
  62. gdevamiga.c on its own and let make resume after that. GCC2.7.2.1 (?) (Aminet)
  63. works with VMM3.3 (on Aminet too).
  64.  
  65. Better yet get the latest gcc compiler from ftp.ninemoons.com/pub/geekgadgets!
  66.  
  67.  
  68. ============================= Archive contents =============================
  69.  
  70. Original  Packed Ratio    Date     Time    Name
  71. -------- ------- ----- --------- --------  -------------
  72.      855     219 74.3% 11-Aug-97 23:02:06 +build_gs
  73.   203099   56706 72.0% 14-Aug-97 05:57:46 +Makefile.libnix
  74.      885     465 47.4% 10-Aug-97 15:02:04 +configure.in
  75.    56212   16226 71.1% 10-Aug-97 15:02:20 +devs.mak.in
  76.    10882    4426 59.3% 10-Aug-97 15:03:22 +gcc-head.mak.in
  77.   115067   28666 75.0% 10-Aug-97 15:02:04 +gdevamiga.c
  78.     2854    1137 60.1% 10-Aug-97 15:02:06 +gdevpipe.c
  79.    22570    7532 66.6% 10-Aug-97 15:02:06 +gp_amiga.c
  80.    15387    5479 64.3% 10-Aug-97 15:03:22 +gs.mak.in
  81.     4772    1858 61.0% 10-Aug-97 15:02:04 +install-sh
  82.    24335    8697 64.2% 10-Aug-97 15:02:06 +gsmisc.c
  83.    44761   11637 74.0% 10-Aug-97 15:03:22 +int.mak.in
  84.    11065    3396 69.3% 10-Aug-97 15:03:22 +jpeg.mak.in
  85.    40275    9719 75.8% 10-Aug-97 15:03:24 +lib.mak.in
  86.     1775     631 64.4% 10-Aug-97 15:02:04 +tar_cat.in
  87.     3939    1535 61.0% 21-Jul-97 16:59:38 +libpng.mak.in
  88.     5211    2089 59.9% 10-Aug-97 15:03:24 +ugcclib.mak.in
  89.     2015    1086 46.1% 10-Aug-97 15:03:26 +unixhead.mak.in
  90.     5992    2446 59.1% 10-Aug-97 15:03:26 +unix-end.mak.in
  91.     6026    2287 62.0% 10-Aug-97 15:03:26 +unixtail.mak.in
  92.     1382     710 48.6% 10-Aug-97 15:03:28 +version.mak.in
  93.     5302    1953 63.1% 26-Jun-97 22:21:44 +zlib.mak.in
  94.    51369   18836 63.3% 10-Aug-97 15:06:44 +use.txt
  95.    42725   12079 71.7% 10-Aug-97 15:09:50 +configure
  96. -------- ------- ----- --------- --------
  97.   678755  199815 70.5% 18-Aug-97 13:57:10   24 files
  98.